/*
    Bandleader
    Copyright (c) 2006 by Grant Yoshida

    Licensed under the GPL version 2 or later,
    please see COPYING for details.
*/

#ifndef TimeSignature_h
#define TimeSignature_h

//
class TimeSignature
{
public:
    TimeSignature(int beatsPerMeasure, int beatValue);

    int beatsPerMeasure() const;
    int beatValue() const;

private:
    int m_beatsPerMeasure;
    int m_beatValue;
};

//

inline TimeSignature::TimeSignature(int beatsPerMeasure, int beatValue) :
    m_beatsPerMeasure(beatsPerMeasure),
    m_beatValue(beatValue)
{
}

inline int TimeSignature::beatsPerMeasure() const
{
    return m_beatsPerMeasure;
}

inline int TimeSignature::beatValue() const
{
    return m_beatValue;
}


#endif
